public class Tileable {
	protected int ID;
	protected int type;
	public int x;
	public int y;
	public int targetX;
	public int targetY;

	public Tileable() {
		this.ID = -1;
		this.type = -1;
		this.x = -1;
		this.y = -1;
		this.targetX = x;
		this.targetY = y;
	}

	public void doMove(Map m) {

	}

	public Tileable(int _ID, int _type) {
		this.ID = _ID;
		this.type = _type;
	}

	public String getCommandTxt() {
		return "mission";
	}

	public int getX() {
		return this.x;
	}

	public int getY() {
		return this.y;
	}

	public void setX(int _x) {
		this.x = _x;
	}

	public void setY(int _y) {
		this.y = _y;
	}

	public int getDestX() {
		return this.targetX;
	}

	public int getDestY() {
		return this.targetY;
	}

	public void setDestX(int _x) {
		this.targetX = _x;
	}

	public void setDestY(int _y) {
		this.targetY = _y;
	}

	public int getID() {
		return this.ID;
	}

	public int getType() {
		return this.type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getTypeName(int num) {
		switch (num) {
		case 0:
			return "Explorer";
		case 1:
			return "Colonist";
		case 2:
			return "Melee";
		case 3:
			return "Range";
		case 10:
			return "Base";
		case 11:
			return "Farm";
		case 30:
			return "Rally";
		default:
			return "Unknown";
		}
	}

	public int[] getStatus() {
		int[] empty = new int[8];
		return empty;
	}

	public String[] gettxtStatus() {
		String[] empty = new String[8];
		return empty;
	}

	public String[] gettxtCommands() {
		String[] empty = new String[8];
		return empty;
	}

	public void powerDown() {
	}

	public void doCreate(Map m, Player p) {
	}

	public void powerUp() {
	}

	public void addCommand(int[] command) {
	}

	public void delCommands() {
	}

	public void destroy() {
	}

}
